<include file="DormChange:header"/>
<body class="index-bg">
<div class="wraper">
    <div class="load">
        <img class="load-bee" src="/assets/base/dormchange/images/load-bee.png">
    </div>
	<div class="head clearfix">
		<a href="javascript:history.go(-1);" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">公寓管理</span>
		<a href="{BEESCRM::U('/Base/DormChange/appStudentList',array('wechat_id'=>$wechat_id))}" class="pull-left text-right">历史记录</a>
	</div>
	<div class="info-box">
		<div class="headimg"><img src="{BEESCRM:$data['headimgurl']}"/></div>
		<p class="user-name text-center"><if condition="$data['username']">{BEESCRM:$data['username']}<else />未查到</if></p>
		<p class="st-number text-center"><if condition="$data['student_number']">{BEESCRM:$data['student_number']}<else />未查到</if></p>
		<div class="info-detail text-center">
			<p>园区：<if condition="$data['community_name']">{BEESCRM:$data['community_name']}<else />未查到</if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;楼号：<if condition="$data['building_name']">{BEESCRM:$data['building_name']}<else />未查到</if></p>
			<p>楼层：<if condition="$data['floor']">{BEESCRM:$data['floor']}<else />未查到</if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;舍号：<if condition="$data['dorm_name']">{BEESCRM:$data['dorm_name']}<else />未查到</if></p>
			<p>床位：<if condition="$data['bed']">{BEESCRM:$data['bed']}号<else />未查到</if></p>
		</div>
	</div>
	<div class="btn-box half-btn">
		<a href="#" class="btn" id="btn">申请调换</a>
	</div>
	<div class="bottom-box">
		<p class="copyright">杭州青橄榄网络技术有限公司 技术支持</p>
	</div>
	<div class="pop-box">
		<div class="main">
			<p class="iconfont icon-guanbi text-right"></p>
			<p class="strong text-center">温馨提醒</p>
			<p>请确认您已通过线下宿舍调换审核，方可进行此操作。</p>
			<div class="btn-box clearfix">
				<a href="/Base/DormChange/apply" class="btn pull-left">申请调换</a>
				<a href="#" class="btn white-btn pull-right">取消</a>
			</div>
		</div>
	</div>
</div>
<include file="DormChange:commonJs"/>
<script>
	var height = $(document).height();
	var bottombox_height = $('.bottom-box').outerHeight();
	$('.wraper').css("minHeight",height);
	$('.wraper').css("paddingBottom",bottombox_height);

	$(window).load(function(){
		$('.load').hide();
	});
	
	$('#btn').click(function(){
		$('.pop-box').show();
	});
	$('.icon-guanbi,.white-btn').click(function(){
		$('.pop-box').hide();
	});
</script>
</body>
</html>